package com.shujia.api.service;

import com.shujia.api.bean.StationDayTop;
import com.shujia.api.dao.SztDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * 业务层： 编写业务逻辑位置
 */

@Service
public class SztService {

    @Autowired
    private SztDao sztDao;

    public ArrayList<StationDayTop> queryInStationDayTopByDay(String day) throws Exception {
        System.out.println("业务层");
        return sztDao.queryInStationDayTopByDay(day);
    }
}